#ifndef _BW_UPDATE_DEMO_H
#define _BW_UPDATE_DEMO_H

typedef enum
{
    TASK_STATUS_IDLE,
    TASK_STATUS_RUNNING,
    TASK_STATUS_SHUTTING,
    TASK_STATUS_SHUTTING_2,
    TASK_STATUS_SHUTDOWN,
    TASK_STATUS_MAX
} task_status_e;

typedef struct Tx_Task_Info_t_
{
	uint32_t soc_id:8; //bb soc id
	uint32_t slot_id:8; // slot idx
	uint32_t rsv1:16; 
}Task_Info_t;

typedef struct	
{
    volatile int32_t s32Ar8030TxStart;
	volatile int32_t s32Ar8030TxThreadExit;
	volatile int32_t s32sAr8030TxThreadSuspend;
	int32_t s32sAr8030CheckLinkAlive;
    task_status_e status;
} PF_AR8030_TX_THREAD_PARAM_t;

typedef struct	
{
	volatile int32_t s32Ar8030RxThreadExit;
	volatile int32_t s32sAr8030RxThreadSuspend;
	volatile int32_t s32sAr8030CheckLinkAlive;
    task_status_e status;
} PF_AR8030_RX_THREAD_PARAM_t;

typedef	void *(*ThreadEntryPtrType)(void *);

#endif